package com.karry.yl.service.system.impl;

import com.karry.commons.base.impl.SuperServiceImpl;
import com.karry.yl.dao.system.ResourcesMapper;
import com.karry.yl.dao.system.RoleResourcesMapper;
import com.karry.yl.domain.system.Resources;
import com.karry.yl.service.system.ResourcesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResourcesServiceImpl extends SuperServiceImpl<ResourcesMapper,Resources> implements ResourcesService {

    @Autowired
    private RoleResourcesMapper roleResourcesMapper;
    @Override
    public List<String> findCodeListByRole(Long roleId) {
        return baseMapper.findCodeListByRole(roleId);
    }

}
